数位染色
import java.util.;

 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        char[] arr = in.next().toCharArray();
        int sum = 0;
        int len = arr.length;
        for (int i = 0; i  len; i++) {
            sum += arr[i]-'0';
        }
        if (sum % 2 != 0) {
            System.out.println(No);
            return;
        }
        int[][] dp = new int[sum2+1][len+1];
        for (int i = 1; i  sum2 + 1; i++) {
            for (int j = 1; j  len+1; j++) {
                int a = arr[j-1]-'0';
                if (a = i) {
                    dp[i][j] = Math.max(a+dp[i-a][j-1], dp[i][j-1]);
                } else {
                    dp[i][j] = dp[i][j-1];
                }
            }
        }
        if (dp[sum2][len] == sum2) {
            System.out.println(Yes);
        } else {
            System.out.println(No);
        }
    }
}